package com.youkeyi.ddy.cloud.common.api.application.business.crm.order;

import com.youkeyi.ddy.cloud.common.api.application.business.crm.order.dto.BusinessCustomerVaccineOrderListCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.business.crm.order.dto.BusinessCustomerVaccineOrderRecipientDetailsCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.business.crm.order.param.*;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * BusinessCustomerVaccineOrderCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 1/28/22 4:12 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/business/customer/vaccine/order/fallback")
public class BusinessCustomerVaccineOrderCloudServiceFallback implements BusinessCustomerVaccineOrderCloudService {

    @Override
    public BusinessCustomerVaccineOrderListCloudDto list(BusinessCustomerVaccineOrderListCloudParam param) {
        return new BusinessCustomerVaccineOrderListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(BusinessCustomerVaccineOrderCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(BusinessCustomerVaccineOrderUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(BusinessCustomerVaccineOrderDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public BusinessCustomerVaccineOrderRecipientDetailsCloudDto recipientDetails(BusinessCustomerVaccineOrderRecipientDetailsCloudParam param) {
        return new BusinessCustomerVaccineOrderRecipientDetailsCloudDto(Boolean.FALSE, "服务不可用");
    }
}
